\begin{titlepage}
  \definecolor{titlepagecolor}{HTML}{FDF6E3}
  \definecolor{namecolor}{cmyk}{1,.50,0,.10} 
  %\pagecolor{titlepagecolor}
  %\pagecolor{white}

  \color{black}
  \begin{flushright}
     \Huge\textbf{What I Wish I Knew When Learning Haskell}
     \line(1,0){450} \\
     \Large{Stephen Diehl}
  \end{flushright}

  \tikz[remember picture, overlay]
    \node[opacity=1,inner sep=0pt,shift={(0 cm,8cm)}] at (current page.south)
    {\includegraphics[width=\paperwidth,height=\paperheight]{resources/cover2.png}};

\end{titlepage}
\pagecolor{white}
